<include file="Public:header"/>

<div class="form_data">
	<div class="mod_name" id="no_pmb">
		<li <eq name="Think.ACTION_NAME" value="index">class="on"</eq>>
			<a href="{:URL('index', array('type' => $type))}">{$_cur_title}</a>
		</li>
		<li <eq name="Think.ACTION_NAME" value="recycle">class="on"</eq>>
			<a href="{:URL('recycle', array('type' => $type))}">回收站</a>
		</li>
	</div>
</div>

<div class="data_list">
	<table>
		<tr>
			<th width="30"><input type="checkbox" onclick="$.checkbox(this,'.select-box')"></th>
			<th>编号</th>
			<th>标题</th>
			<th>删除时间</th>
			<th width="200">操作</th>
		</tr>
		<volist name="list" id="rs">
		<tr class="data-{$rs['id']}">
			<td class="select-box">
				<input type="checkbox" name="ids[]" value="{$rs['id']}">
				<input type="hidden" name="id[{$rs['id']}]" value="{$rs['id']}">
			</td>
			<td>{$rs['id']}</td>
			<td style="text-align:left;">{$rs['title']}</td>
			<td>
				{:date('Y-m-d H:i:s', $rs['recycle_time'])}
			</td>
			<td>
				<a href="{:URL('permit', array('type' => $type, 'id' => $rs['id']))}" class="btn-confirm-opt restore-opt" del-class="data-{$rs['id']}" title="{$rs['title']}">
					<i class="if if-restore"></i>
				</a>
				<a href="{:URL('delete', array('type' => $type, 'id' => $rs['id']))}" class="btn-confirm-opt delete-opt" title="{$rs['title']}" del-class="data-{$rs['id']}">
					<i class="if if-delete"></i>
				</a>
			</td>
		</tr>
		</volist>
	</table>
</div>

<notempty name="page"><div class="page">{$page}</div></notempty>

<div class="batch_opt">
	<span class="btn btn-delete batch-opt delete-opt" url="{:URL('delete', array('type' => $type))}">删除</span>
	<span class="btn btn-restore batch-opt restore-opt" url="{:URL('permit', array('type' => $type))}">还原</span>
</div>

<include file="Public:footer"/>